package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.SiteShop;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SiteShopRepository extends JpaRepository<SiteShop, Long> {

    List<SiteShop> findBySiteId(Long siteId);

    void  deleteAllBySiteId(Long siteId);
}
